package com.education.springbootdemo.service;

import com.education.springbootdemo.dao.UserDao;
import com.education.springbootdemo.mapper.UserMapper;
import com.education.springbootdemo.vo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

public interface UserService {

    Long insertUser(User user);

    User selectById(Long id);

    User selectByUsernameAndPassword(String username, String password) ;

    User reg(String username, String password) ;

    User selectByUsername(String username);
}
